package com.bah.tract.service;

public class DoubleProperty extends Property {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public DoubleProperty(final String name, final double value) {
		setType(PropertyType.DOUBLE);
		setDoubleValue(value);
		setName(name);
	}

	@Override
	public final int hashCode() {
		return PropertyHashAndEquals.hashCode(this);
	}

	@Override
	public final boolean equals(final Object obj) {
		return PropertyHashAndEquals.equals(this, obj);
	}
}
